﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="details_nghiphep.aspx.cs" Inherits="admin_details_nghiphep" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v10.1, Version=10.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxtoolkit" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
 <title>Nghi phep chi tiet</title>
    
     <link href="../styles/style.css" rel="stylesheet" type="text/css" /> 
     <link type="text/css" href="../css/smoothness/jquery-ui-1.8.11.custom.css" rel="stylesheet" />
    <script src="../js/jquery-1.5.min.js" type="text/javascript"></script>
    <script src="../js/jquery-ui-1.8.9.custom.min.js" type="text/javascript"></script>
    <script src="../js/jquery.validationEngine.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
   <div class="wrapper">
         <div id="header">
		<h1 class="logo">
        <a href="index.aspx">
        	<img src="../images/logo.png" width="280" height="46" border="0" /></a>
        
        </h1>
         <div class="login_zone" >
                Username:<asp:Literal ID="lUsername" Text="" runat="server" />
                <br />
                 <asp:LinkButton ID="lnkLogout" runat="server" Text="Logout" 
                    onclick="lnkLogout_Click" /> | <a href="../users/change_pass.aspx">Change password</a>
        </div>
        </div>

   <div id="nav">
      <div style="width:460px;float:left;">
              <ul class="breadcrumb">
        <li>
            <a href="index.aspx" title="Home">
         
                 <img src="../images/home.png" width="24" height="23" border="0" align="left" style="margin-top:2px;" class="home" />
      
            </a>
              
            </li>
            <li>
            <a href="index.aspx"   title="homepage">
                Trang chủ
                </a>
            </li>
        <li>
            
              <a href= "tonghop_nghiphep.aspx">Tổng hợp danh sách nghỉ phép</a>
            
       </li>
       
       <li>
            
            Chi tiết nghỉ phép
            
       </li>
       
     </ul>
     </div>

        </div>
    
    <br /><br />
    <div class="main_content2">
       <div style="margin-top:-8px;">
             <img src="../images/chitiet_nghiphep.jpg" width="900" height="77" />
           </div>
           <br /><br />
          
           <div style="padding-left:20px;padding-bottom:20px;width:880px;line-height:150%;float:left;text-align:left;">
               <img src="../images/bullet.png" width="8" height="9" border="0" /> Họ tên: <asp:Literal ID="lFullName" runat="server"></asp:Literal>
                <br />
                  
                <img src="../images/bullet.png" width="8" height="9" border="0" /> Số ngày phép đã sử dụng:
                <div>
                    <ul>
                        <li>
                            Phép năm:
                            <asp:Label ID="lPhepNam" runat="server"></asp:Label>
                        </li>
                        <li>
                            Nghỉ đặc biệt:
                            <asp:Label ID="lNghiDacBiet" runat="server" Text=""></asp:Label>
                        </li>
                        <li>
                            Nghỉ ốm:
                            <asp:Label ID="lNghiOm" runat="server" Text=""></asp:Label>
                        </li>
                        <li>
                            Nghỉ không hưởng lương:
                            <asp:Label ID="lNghiKhongHuongLuong" runat="server" Text=""></asp:Label>
                        </li>
                    </ul>
                </div>
                
           </div>
          
            
           <div style="width:880px;height:auto;float:left;padding-left:10px;">
               <dx:ASPxGridView ID="gdNghiPhep" runat="server" AutoGenerateColumns="False" 
                   ClientInstanceName="gridNghiPhep" onhtmlrowcreated="gdNghiPhep_HtmlRowCreated" 
                   Width="880px">
                   <TotalSummary>
                       <dx:ASPxSummaryItem DisplayFormat="Total: {0}" FieldName="songaynghi" 
                           SummaryType="Sum" />
                   </TotalSummary>
                   <Columns>
                       <dx:GridViewCommandColumn Caption="Operators" ShowSelectCheckbox="false" 
                           Visible="False" VisibleIndex="0">
                           <CustomButtons>
                               <dx:GridViewCommandColumnCustomButton ID="btnEdit" Text="Edit">
                               </dx:GridViewCommandColumnCustomButton>
                               <dx:GridViewCommandColumnCustomButton ID="btnDelete" Text="Delete">
                               </dx:GridViewCommandColumnCustomButton>
                           </CustomButtons>
                       </dx:GridViewCommandColumn>
                       <dx:GridViewDataTextColumn Caption="Trưởng phòng" FieldName="dv" 
                           VisibleIndex="1" Width="90px" Visible="False">
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Nhân sự" FieldName="ns" VisibleIndex="2" 
                           Width="70px" Visible="False">
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Giám đốc" FieldName="gd" VisibleIndex="3" 
                           Width="70px">
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="ID" FieldName="id" Visible="false" 
                           VisibleIndex="4">
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Nghỉ từ ngày" FieldName="nghipheptungay" 
                           VisibleIndex="5" Width="84px">
                           <PropertiesTextEdit DisplayFormatString="dd-MM-yyyy">
                           </PropertiesTextEdit>
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Nghỉ đến ngày" FieldName="nghiphepdenngay" 
                           VisibleIndex="6" Width="90px">
                           <PropertiesTextEdit DisplayFormatString="dd-MM-yyyy">
                           </PropertiesTextEdit>
                           <PropertiesTextEdit DisplayFormatString="dd-MM-yyyy">
                           </PropertiesTextEdit>
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Số ngày nghỉ" FieldName="songaynghi" 
                           VisibleIndex="7">
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Thời gian nghỉ" FieldName="thoigiannghi" 
                           VisibleIndex="8" Width="120px">
                           <CellStyle HorizontalAlign="Left">
                           </CellStyle>
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Loại phép" FieldName="loaiphep" 
                           VisibleIndex="9" Width="140px">
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Ngày đăng ký" FieldName="ngaydangky" 
                           VisibleIndex="10" Width="110px">
                           <PropertiesTextEdit DisplayFormatString="dd-MM-yyyy">
                           </PropertiesTextEdit>
                           <Settings AllowSort="True" />
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Lý do nghỉ" FieldName="lydo" 
                           VisibleIndex="11" Width="200px">
                           <CellStyle HorizontalAlign="Left">
                           </CellStyle>
                       </dx:GridViewDataTextColumn>
                   </Columns>
                   <Settings ShowFooter="True" ShowHorizontalScrollBar="True" />
               </dx:ASPxGridView>
           </div>
        <asp:Panel ID="panelEdit" runat="server">    
            <ajaxtoolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
            </ajaxtoolkit:ToolkitScriptManager>
         <br />
            <table style="width: 500px; background-color: #ffffdd;filter: alpha(opacity=0.9);opacity: 0.9;" >
            <tr>
                <td>
                
                    &nbsp; </td>
            
            </tr>
         </table>
        </asp:Panel>
        
         <asp:LinkButton ID="lnkFake" runat="server"></asp:LinkButton>
        <ajaxtoolkit:modalpopupextender  ID="popupEdit" runat="server"
                     PopupControlID="panelEdit" TargetControlID="lnkFake" />
       
    
     </div>
     
</div>
    </form>
</body>
</html>
